package com.csii.pos.activiti.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csii.pos.uofplan.UofPlanPo;

import java.util.List;

/**
 * @ClassName: ActivitiService
 * @Author: zhanghao
 * @description: TODO
 * @Date: 2021/7/22 13:51
 * @Version: 1.0
 */
public interface ActivitiUofPlanService {

    //部署流程
    void deploy();
    //启动流程和提交申请
    void startAndSubmit(Long id);
    //启动流程
    void start(UofPlanPo uofPlanPo);
    //批量完成提交申请
    void submit(List<String> idList);
    //删除流程实例
    void delete(Long id);
    //审批人员同意
    void agreeByApprover(UofPlanPo uofPlanPo);
    //审批人拒绝
    void rejectByApprover(UofPlanPo uofPlanPo);
    //审批人驳回
    void refuteByApprover(UofPlanPo uofPlanPo);
    //查询对应的审批员的需要审批的数据
//    List<UofPlanPo> findAllInfo(UofPlanPo uofPlanPo);
    IPage<UofPlanPo> findAllInfo(Page<UofPlanPo> page, UofPlanPo uofPlanPo);

}
